package net.realsee.service.wcs.data;

import com.baomidou.mybatisplus.extension.service.IService;
import net.realsee.domain.wcs.data.WcsWipLineWorkcenter;
import net.realsee.domain.wcs.data.bo.WcsWipLineWorkcenterBo;
import net.realsee.domain.wcs.data.vo.WcsWipLineWorkcenterVo;
import net.realsee.framework.core.domain.PageQuery;
import net.realsee.framework.core.page.TableDataInfo;

import java.util.Collection;
import java.util.List;

/**
 * 线体工位关系Service接口
 *
 * @author realsee
 * @date 2023-08-11
 */
public interface IWcsWipLineWorkcenterService extends IService<WcsWipLineWorkcenter> {

    /**
     * 查询线体工位关系
     */
    WcsWipLineWorkcenterVo selectVoById(Long id);

    /**
     * 查询线体工位关系列表
     */
    TableDataInfo<WcsWipLineWorkcenterVo> selectVoPage(WcsWipLineWorkcenterBo bo, PageQuery pageQuery);

    /**
     * 查询线体工位关系列表
     */
    List<WcsWipLineWorkcenterVo> selectVoList(WcsWipLineWorkcenterBo bo);

    /**
     * 新增线体工位关系
     */
    Boolean insertByBo(WcsWipLineWorkcenterBo bo);

    /**
     * 修改线体工位关系
     */
    Boolean updateByBo(WcsWipLineWorkcenterBo bo);

    /**
     * 校验并批量删除线体工位关系信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids);
}
